package com.evenmo.springjpademo.contrlller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * This is Description
 *
 * @author moyongjun
 * @date 2019/12/03
 */
@Controller
public class TestContrlller {

    @RequestMapping(value = "/",method = RequestMethod.GET)
    @ResponseBody
    public String index(){


        return "this is ok!";
    }
}
